import {
    legacy_createStore,
    combineReducers,
    applyMiddleware
} from 'redux'
import thunk from 'redux-thunk'
import logger from 'redux-logger'
import reducer  from './reducer'
const allReducer=combineReducers({
    reducer,
    
    
})
console.log(reducer);
const store=legacy_createStore(
    allReducer,
    applyMiddleware(thunk,logger)
)
export default store